package edu.zut.hb.ambition.rescue.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Column;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 急救对象 rescue
 *
 */
public class Rescue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */

    @Column(name = "id")
    private String id;

    @Column(name = "doctor")
    private String doctor;


    @Column(name = "patientname")
    private String patientname;


    @Column(name = "patientzht")
    private String patientzht;


    @Column(name = "time")
    private Long time;


    @Column(name = "adress")
    private String adress;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDoctor(String doctor)
    {
        this.doctor = doctor;
    }

    public String getDoctor()
    {
        return doctor;
    }
    public void setPatientname(String patientname)
    {
        this.patientname = patientname;
    }

    public String getPatientname()
    {
        return patientname;
    }
    public void setPatientzht(String patientzht)
    {
        this.patientzht = patientzht;
    }

    public String getPatientzht()
    {
        return patientzht;
    }
    public void setTime(Long time)
    {
        this.time = time;
    }

    public Long getTime()
    {
        return time;
    }
    public void setAdress(String adress)
    {
        this.adress = adress;
    }

    public String getAdress()
    {
        return adress;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("doctor", getDoctor())
                .append("patientname", getPatientname())
                .append("patientzht", getPatientzht())
                .append("time", getTime())
                .append("adress", getAdress())
                .toString();
    }
}
